package com.sc.dal.mapper.promotion;

import java.util.List;
import java.util.Map;

import com.sc.dal.model.promotion.Promotion;

public interface PromotionMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(Promotion record);

	int insertSelective(Promotion record);

	Promotion selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(Promotion record);

	int updateByPrimaryKey(Promotion record);
	
	List<Promotion> selectList(Map<String,Object> record);
	
	List<String> selectGoodsbyPromotion(Map<String, Object> map);
}